﻿using System.Collections.Generic;
using DataAccess.Models;


namespace DataAccess.Repository.Interface
{
   public interface IPolicyDocuments
    {
       /// <summary>
       ///新增行政文件
       /// </summary>
       /// <param name="p"></param>
       /// <returns></returns>
       bool CreatePolicyDocument(PolicyDocuments p);
       /// <summary>
       /// 编辑行政文件
       /// </summary>
       /// <param name="p"></param>
       /// <returns></returns>
       bool EditPolicyDocument(PolicyDocuments p);
       /// <summary>
       /// 获取行政文件分页
       /// </summary>
       /// <param name="keys">名称</param>
       /// <param name="PageSize"></param>
       /// <param name="PageIndex"></param>
       /// <param name="PageCount"></param>
       /// <param name="rowCount"></param>
       /// <returns></returns>
       IList<PolicyDocuments> GetPolicyDocumentsListPageing(string keys, int PageSize, int PageIndex, out int PageCount, out int rowCount);
       /// <summary>
       /// 获取行政文件信息内容
       /// </summary>
       /// <param name="pdid"></param>
       /// <returns></returns>
       PolicyDocuments GetDetailPolicyDocuments(int pdid);
       /// <summary>
       /// 删除行政文件
       /// </summary>
       /// <param name="pdIDs"></param>
       /// <returns></returns>
       bool DeletePolicyDocuments(List<int> pdIDs);

    }
}
